3.2648 \(\int x^{-1-2 n} \sqrt{a+b x^n} \, dx\)

Optimal. Leaf size=84 \[ \frac{b^2 \tanh ^{-1}\left (\frac{\sqrt{a+b x^n}}{\sqrt{a}}\right )}{4 a^{3/2} n}-\frac{x^{-2 n} \sqrt{a+b x^n}}{2 n}-\frac{b x^{-n} \sqrt{a+b x^n}}{4 a n} \]

[Out]

-Sqrt[a + b*x^n]/(2*n*x^(2*n)) - (b*Sqrt[a + b*x^n])/(4*a*n*x^n) + (b^2*ArcTanh[
Sqrt[a + b*x^n]/Sqrt[a]])/(4*a^(3/2)*n)

_______________________________________________________________________________________

Rubi [A]  time = 0.11252, antiderivative size = 84, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.263 \[ \frac{b^2 \tanh ^{-1}\left (\frac{\sqrt{a+b x^n}}{\sqrt{a}}\right )}{4 a^{3/2} n}-\frac{x^{-2 n} \sqrt{a+b x^n}}{2 n}-\frac{b x^{-n} \sqrt{a+b x^n}}{4 a n} \]

Antiderivative was successfully verified.

[In]  Int[x^(-1 - 2*n)*Sqrt[a + b*x^n],x]

[Out]

-Sqrt[a + b*x^n]/(2*n*x^(2*n)) - (b*Sqrt[a + b*x^n])/(4*a*n*x^n) + (b^2*ArcTanh[
Sqrt[a + b*x^n]/Sqrt[a]])/(4*a^(3/2)*n)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 11.5432, size = 66, normalized size = 0.79 \[ - \frac{x^{- 2 n} \sqrt{a + b x^{n}}}{2 n} - \frac{b x^{- n} \sqrt{a + b x^{n}}}{4 a n} + \frac{b^{2} \operatorname{atanh}{\left (\frac{\sqrt{a + b x^{n}}}{\sqrt{a}} \right )}}{4 a^{\frac{3}{2}} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**(-1-2*n)*(a+b*x**n)**(1/2),x)

[Out]

-x**(-2*n)*sqrt(a + b*x**n)/(2*n) - b*x**(-n)*sqrt(a + b*x**n)/(4*a*n) + b**2*at
anh(sqrt(a + b*x**n)/sqrt(a))/(4*a**(3/2)*n)

_______________________________________________________________________________________

Mathematica [A]  time = 0.114894, size = 83, normalized size = 0.99 \[ \frac{b^2 \log \left (x^{-n} \left (2 \sqrt{a} \sqrt{a+b x^n}+2 a+b x^n\right )\right )-2 \sqrt{a} x^{-2 n} \sqrt{a+b x^n} \left (2 a+b x^n\right )}{8 a^{3/2} n} \]

Antiderivative was successfully verified.

[In]  Integrate[x^(-1 - 2*n)*Sqrt[a + b*x^n],x]

[Out]

((-2*Sqrt[a]*Sqrt[a + b*x^n]*(2*a + b*x^n))/x^(2*n) + b^2*Log[(2*a + b*x^n + 2*S
qrt[a]*Sqrt[a + b*x^n])/x^n])/(8*a^(3/2)*n)

_______________________________________________________________________________________

Maple [F]  time = 0.066, size = 0, normalized size = 0. \[ \int{x}^{-1-2\,n}\sqrt{a+b{x}^{n}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^(-1-2*n)*(a+b*x^n)^(1/2),x)

[Out]

int(x^(-1-2*n)*(a+b*x^n)^(1/2),x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(b*x^n + a)*x^(-2*n - 1),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.230974, size = 1, normalized size = 0.01 \[ \left [\frac{b^{2} x^{2 \, n} \log \left (\frac{\sqrt{a} b x^{n} + 2 \, \sqrt{b x^{n} + a} a + 2 \, a^{\frac{3}{2}}}{x^{n}}\right ) - 2 \,{\left (\sqrt{a} b x^{n} + 2 \, a^{\frac{3}{2}}\right )} \sqrt{b x^{n} + a}}{8 \, a^{\frac{3}{2}} n x^{2 \, n}}, -\frac{b^{2} x^{2 \, n} \arctan \left (\frac{a}{\sqrt{b x^{n} + a} \sqrt{-a}}\right ) +{\left (\sqrt{-a} b x^{n} + 2 \, \sqrt{-a} a\right )} \sqrt{b x^{n} + a}}{4 \, \sqrt{-a} a n x^{2 \, n}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(b*x^n + a)*x^(-2*n - 1),x, algorithm="fricas")

[Out]

[1/8*(b^2*x^(2*n)*log((sqrt(a)*b*x^n + 2*sqrt(b*x^n + a)*a + 2*a^(3/2))/x^n) - 2
*(sqrt(a)*b*x^n + 2*a^(3/2))*sqrt(b*x^n + a))/(a^(3/2)*n*x^(2*n)), -1/4*(b^2*x^(
2*n)*arctan(a/(sqrt(b*x^n + a)*sqrt(-a))) + (sqrt(-a)*b*x^n + 2*sqrt(-a)*a)*sqrt
(b*x^n + a))/(sqrt(-a)*a*n*x^(2*n))]

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**(-1-2*n)*(a+b*x**n)**(1/2),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \sqrt{b x^{n} + a} x^{-2 \, n - 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(b*x^n + a)*x^(-2*n - 1),x, algorithm="giac")

[Out]

integrate(sqrt(b*x^n + a)*x^(-2*n - 1), x)